type int = number;
//class EntityBitmapDatas
    
    export  class EntityBitmapDatas
    {
        

        public static getBitmapData(arg1: int): Object /* flash.display.BitmapData */
        {
            var loc1=EntityBitmapDatas._entitys[arg1];
            if (loc1 == null) 
            {
                loc1 = EntityBitmapDatas.drawBitmapData(arg1);
                EntityBitmapDatas._entitys[arg1] = loc1;
            }
            return loc1;
        }

        /* internal  */static drawBitmapData(arg1: int): Object /* flash.display.BitmapData */
        {
            var loc1=0;
            var loc2=NaN;
            var loc3=NaN;
            var loc6=arg1;
            switch (loc6) 
            {
                case EntityBitmapDatas.boss:
                {
                    loc1 = 16711680;
                    loc2 = 1.5;
                    break;
                }
                case EntityBitmapDatas.transport:
                {
                    loc1 = 16776960;
                    loc2 = 3;
                    break;
                }
                case EntityBitmapDatas.group:
                {
                    loc1 = 65280;
                    loc2 = 3;
                    break;
                }
                case EntityBitmapDatas.user:
                {
                    loc1 = 43775;
                    loc2 = 3;
                    break;
                }
            }
            loc3 = (loc3 = loc2 * 2) + 2;
            var loc4=new Object /* flash.display.BitmapData */(loc3, loc3, true, 0);
            var loc5;
            (loc5 = new Object /* flash.display.Shape */()).graphics.lineStyle(1, 0);
            loc5.graphics.beginFill(loc1, 1);
            loc5.graphics.drawCircle(loc2 + 1, loc2 + 1, loc2);
            loc5.graphics.endFill();
            loc5.cacheAsBitmap = true;
            loc4.draw(loc5);
            return loc4;
        }

        public static /* const */boss: int=1;

        public static /* const */user: int=2;

        public static /* const */transport: int=3;

        public static /* const */group: int=4;

        /* internal */ static /* var */_entitys: Map<any, any> /* flash.utils.Dictionary */;
    }

            EntityBitmapDatas._entitys = new Map<any, any> /* flash.utils.Dictionary */();
        